Skip to content

Conversation

@kleinmann
Copy link
Contributor

The current language seems to allow for non-public properties, but in practice this fails, because the corresponding property remains uninitialized after deserialization.

An accidental private option can also be a bit of a headscratcher to pin down, since it may occur only once it is run in a production environment (due to different cache configurations).

@kleinmann kleinmann requested a review from xabbuh as a code owner November 7, 2025 14:20
@carsonbot carsonbot added this to the 6.4 milestone Nov 7, 2025
@carsonbot carsonbot changed the title Make public property requirement clearer for constraint options Make public property requirement clearer for constraint options Nov 7, 2025
@carsonbot carsonbot changed the title Make public property requirement clearer for constraint options [Validator] Make public property requirement clearer for constraint options Nov 12, 2025
@javiereguiluz
Copy link
Member

Yes, this is important. Thanks for improving this, Uwe.

@javiereguiluz javiereguiluz merged commit 8ae9a1f into symfony:6.4 Nov 12, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants